<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="{{__PUBLIC__}}/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="{{__PUBLIC__}}/Admin/Flat/img/favicon.ico">
	</head>
	<body>
		<table class="table table-hover" style="font-size: 14px;">
			<tr class="active">
			  <th width="70">Oid</th>
			  <th width="120">订单号</th>
			 <th width="80">姓名</th>
			 <!--<th width="80">地址</th>-->
			 <!--<th width="90">电话</th>-->
			 <th width="80">总价</th>
			 <th width="140">生成时间</th>
			 <!--<th>备注</th>-->
			 <th width="100">状态</th>
			 <th width="50">uid</th>
			  <th width="150">操作</th>
			</tr>
			{{foreach from="$ordersData" value="$v"}}
			<tr>
				<td>{{$v['oid']}}</td>
				<td>{{$v['number']}}</td>
				<td>{{$v['name']}}</td>
				<!--<td>{{$v['address']}}</td>-->
				<td>{{$v['totalprice']}}.00元</td>
				<td>{{date('Y-m-d H:i:s',$v['time'])}}</td>
				<!--<td>{{$v['remark']}}</td>-->
				<td><a href="#fakelink" class="btn btn-block btn-lg btn-danger" style="height: 35px;padding: 5px 19px;">{{$v['status']}}</a></td>
				<td>{{$v['user_app_uid']}}</td>
				<!--<td>uid</td>-->
				<td>
					<a href="{{U('Orders/orderslists',array('oid'=>$v['oid']))}}" class="btn btn-sm btn-primary">订单详情 </a>
					<a href="javascript:;" class="btn btn-sm btn-danger" onclick="if(confirm('确定要删除吗？亲~~')) location.href='{{U("Orders/delorders",array("oid"=>$v["oid"]))}}'">删除</a>
				</td>
			</tr>
			{{endforeach}}
		</table>
		<center>
			<div class="page pagination">
				<ul>
					<!--{{$page}}-->
				</ul>
			</div>
		</center>
	</body>
</html>
